package com.xingda.packing.dmss.http;

import com.alibaba.fastjson.JSONObject;
import com.xingda.packing.dmss.events.dto.AGVSchedulingParam;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class AGVHttp {
    public static JSONObject save(AGVSchedulingParam agvSchedulingParam) {
        if (agvSchedulingParam == null) {
            return null;
        }
//        String paramJson = JSONObject.toJSONString(agvSchedulingParam);
//        try {
//            JSONObject entityJson = BaseHttp.postBody(AppSetUrl.agv_url, paramJson);
//            log.info("AGV消息参数->：{}", paramJson);
//            log.info("AGV结果参数->：{}", entityJson.toJSONString());
//            return entityJson;
//        } catch (Exception e) {
//            e.printStackTrace();
//        }
        return null;
    }
}
